﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Page.Master" AutoEventWireup="true"
    CodeBehind="CMS_AddStation.aspx.cs" Inherits="_4T.CMS_AddStation" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainPlaceHolder" runat="server">
    <script type="text/javascript">
        SetCurrentMenu('')
    </script>
    <section class="grid_12">
		<div class="block-border"><form class="block-content form add-profile" id="simple_form" method="post" action="" runat="server">
			<h1>Trạm thông tin</h1>			
			<fieldset class="grey-bg">
                <div class="rpContain">
					<div class="rp_left"><label for="complex-title" class="required">ID Trạm</label></div>
					<div class="rp_right"><asp:TextBox ID="txtStationID" ValidationGroup="AddStation" runat="server" CssClass="full-width"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ToolTip="Trường bắt buộc" ControlToValidate="txtStationID" ValidationGroup="AddStation"></asp:RequiredFieldValidator></div>
                </div>
                <div class="rpContain">
					<div class="rp_left"><label for="complex-title" class="required">Tên Trạm</label></div>
					<div class="rp_right"><asp:TextBox ID="txtStationName" ValidationGroup="AddStation" runat="server" CssClass="full-width"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*" ToolTip="Trường bắt buộc" ControlToValidate="txtStationName" ValidationGroup="AddStation"></asp:RequiredFieldValidator></div>
                </div>
                <div class="rpContain">
					<div class="rp_left"><label for="complex-title" class="required">Nơi đặt</label></div>
					<div class="rp_right"><asp:TextBox ID="txtPlace" ValidationGroup="AddStation" runat="server" CssClass="full-width"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ToolTip="Trường bắt buộc" ControlToValidate="txtPlace" ValidationGroup="AddStation"></asp:RequiredFieldValidator></div>
                </div>
                <div class="rpContain">
					<div class="rp_left"><label for="complex-title" class="required">Mô tả</label></div>
					<div class="rp_right"><asp:TextBox ID="txtDescription" runat="server" ValidationGroup="AddStation" CssClass="full-width" TextMode="MultiLine"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*" ToolTip="Trường bắt buộc" ControlToValidate="txtDescription" ValidationGroup="AddStation"></asp:RequiredFieldValidator>
                </div>
            </fieldset>

			<fieldset class="grey-bg no-margin">
            <asp:HiddenField runat="server" ID="hdfStationID" />
				<%--<legend>Action on create</legend>--%>
				<p class="input-with-button">
					<%--<label for="simple-action">Select action</label>
					<select name="simple-action" id="simple-action">
						<option value="1">Save and publish</option>
						<option value="2">Save only</option>
					</select>--%>
                    <asp:Button ID="btnSave" runat="server" ValidationGroup="AddStation" 
                        CausesValidation="true" Text="Lưu" CssClass="big-button" 
                        onclick="btnSave_Click"/>
					<%--<button type="button">Create</button>--%>
				</p>
			</fieldset>
					
		</form></div>
</section>
</asp:Content>
